Tom Wilkie [Thu, 26 Apr 2007 15:15:08 +0000 (16:15 +0100)]
[XM-TEST] Add test for new network functions
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Thu, 26 Apr 2007 14:48:09 +0000 (15:48 +0100)]
[XM-TEST] Move network_utils.py to lib directory
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Thu, 26 Apr 2007 14:40:35 +0000 (15:40 +0100)]
Add network-del and network-show commands to xm
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Thu, 26 Apr 2007 14:39:30 +0000 (15:39 +0100)]
Add network.destroy() to XenAPI
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
kfraser@localhost.localdomain [Thu, 26 Apr 2007 14:42:49 +0000 (15:42 +0100)]
domain builder: Fix sanity check for gzip size.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 26 Apr 2007 14:36:09 +0000 (15:36 +0100)]
acm: Remove unecessary compat shim from do_acm_op().
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 26 Apr 2007 14:25:09 +0000 (15:25 +0100)]
acm: Fix 32-bit build with acm enabled.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
kfraser@localhost.localdomain [Thu, 26 Apr 2007 10:29:41 +0000 (11:29 +0100)]
blktap: Segments can span multiple clusters with tap:qcow.
In blktap's qcow we need split up read/write requests if the requests
span multiple clusters. However, with our MAX_AIO_REQUESTS define we
assume that there is only ever a single aio request per tapdisk
request and under heavy i/o we can run out of room causing us to
cancel requests.
Dynamically allocate (based on cluster_bits) the various io request
queues the driver maintains.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
kfraser@localhost.localdomain [Thu, 26 Apr 2007 10:18:42 +0000 (11:18 +0100)]
hvm ioemu: Fix SCSI initialisation after c/s 14942.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 26 Apr 2007 09:51:49 +0000 (10:51 +0100)]
xen x86/64 compat: Fix size of accesses to trap_bounce.cs in asm.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 26 Apr 2007 08:52:34 +0000 (09:52 +0100)]
Remove non-ASCII chars in man page.
Signed-off-by: Charles Coffing <ccoffing@novell.com>
kfraser@localhost.localdomain [Thu, 26 Apr 2007 08:51:39 +0000 (09:51 +0100)]
xend: Tidy bootloader device constant.
In XendDomainInfo, BOOTLOADER_LOOPBACK_DEVICE is defined to be
'/dev/xvdp'. However, there is still one place in this file that has
'/dev/xvdp' hard-coded.
Signed-off-by: Charles Coffing <ccoffing@novell.com>
Keir Fraser [Wed, 25 Apr 2007 21:56:09 +0000 (22:56 +0100)]
hvm vmx: Mark bootstrap-initialised variables as read-mostly.
Signed-off-by: Keir Fraser <keir@xensource.com>
Keir Fraser [Wed, 25 Apr 2007 21:29:39 +0000 (22:29 +0100)]
hvm vmx: Another small fix for CPUs with no TPR_SHADOW support.
Signed-off-by: Keir Fraser <keir@xensource.com>
Keir Fraser [Wed, 25 Apr 2007 21:22:31 +0000 (22:22 +0100)]
xen: Fix maximum_gpfn() hypercall to always return max_gpfn not nr_gpfns.
Fix callers to convert this to nr_gpfns (aka p2m_size) if that's what
they actually need.
Signed-off-by: Keir Fraser <keir@xensource.com>
Keir Fraser [Wed, 25 Apr 2007 21:06:13 +0000 (22:06 +0100)]
hvm vmx: Only use TPR_SHADOW feature if supported.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 25 Apr 2007 17:12:03 +0000 (18:12 +0100)]
hvm ioemu: Do not initialise the LSI SCSI interface if no SCSI discs
are attached to the guest.
Signed-off-by: Keir Fraser <keir@xensource.com>
Tom Wilkie [Wed, 25 Apr 2007 15:18:34 +0000 (16:18 +0100)]
[XEND] No need to refresh bridges under new model...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Wed, 25 Apr 2007 15:17:51 +0000 (16:17 +0100)]
[XEND] Fully implement XenAPI network and PIF classes.
Now support creation of Networks and PIFs. Auto discover current network settings.
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Wed, 25 Apr 2007 15:16:21 +0000 (16:16 +0100)]
[XEND] Remove autoplug class signatures, have it all handled in the class now
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Wed, 25 Apr 2007 15:14:20 +0000 (16:14 +0100)]
[XEND] Make existing autoplug classes implement new XendBase
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Wed, 25 Apr 2007 15:12:41 +0000 (16:12 +0100)]
[XM] Fix network-attach when a bridge is specified, add network-new command to create new XenAPI network
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Wed, 25 Apr 2007 15:11:20 +0000 (16:11 +0100)]
[XEND] Add more exceptions and error messages
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Wed, 25 Apr 2007 14:42:34 +0000 (15:42 +0100)]
Use new instance store to resolve network uuid to bridge name
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Wed, 25 Apr 2007 14:39:48 +0000 (15:39 +0100)]
Change how XendStateStore store XML for persistance.
Make it explicity store empty dicts and list.
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Wed, 25 Apr 2007 14:38:04 +0000 (15:38 +0100)]
Add new base class and instance store for new autoplugged api classes
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Wed, 25 Apr 2007 12:55:18 +0000 (13:55 +0100)]
If bridge name hasn't been recorded in XendConfig then try and work it out using Brctl.
This is needed when a VIF is created without specifying a bridge.
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Wed, 25 Apr 2007 12:44:37 +0000 (13:44 +0100)]
Translate network uuid to bridge name and store it in XendConfig when createing a new vif.
Fixes a bug where a new vif gets added to the wrong bridge.
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
kfraser@localhost.localdomain [Wed, 25 Apr 2007 12:50:20 +0000 (13:50 +0100)]
xen: Fix up use of trap_bounce structure.
Fixes suggested by Jan Beulich.
Signed-off-by: Keir Fraser <keir@xensource.com>
Steven Smith [Wed, 25 Apr 2007 11:04:55 +0000 (12:04 +0100)]
hvm save/restore: Use a GUEST_HANDLE_64 rather than an ordinary GUEST_HANDLE
when getting the HVM context so as 32 bit dom0s on a 64 bit hypervisor
do the right thing.
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
kfraser@localhost.localdomain [Wed, 25 Apr 2007 08:49:18 +0000 (09:49 +0100)]
libxc: Fix xc_translate_foreign_address() to parse non-pae pagetables
correctly.
From: Chris Morrow <cmorrow@yottayotta.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 25 Apr 2007 08:46:43 +0000 (09:46 +0100)]
linux x86/64: Fix supervisor_mode_kernel test to read a single byte.
Spotted by Jan Beulich.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 25 Apr 2007 08:44:20 +0000 (09:44 +0100)]
xend: Fix race in vfb/vkbd device setup.
1. XendDomainInfo._createDevices() gets a list of devices to be
created from XendConfig.ordered_device_refs().
On a simple guest, this has 4 devices, vfb, vbd, vif, vkbd - in
that order.
2. It iterates over those devices, creating the appropriate
DevController subclass instance, and then calling createDevice()
on that object.
3. When createDevice() is called on the vfb device, it spawns
xen-vncfb daemon.
4. During startup xen-vncfb writes into the backend paths
/local/domain/0/backend/vfb/0
And
/local/domain/0/backend/vkbd/0
5. When createDevice() is called on the vkbd device in XenD, if the
2nd xenstore path write from step 4 has occurred, then you'll hit
the 'Device 0 (vkbd) is already connected' error. If the 2nd path
write didn't complete yet then everything is fine.
I think the reason it often works once after boot is that loading
xen-vncfb from disk the first time around is just enough of a slow
down to ensure step 5 occurs before the 2nd xenstore write in step 4
has occurred.
The key seems to be to ensure the vkbd device is initialized in
xenstore before the vfb device - this ensures all the xenstored setup
from XenD is complete before the xen-vncfb daemon starts. I'm now able
to create & destroy a domain many times over with this patch & never
hit the error message any more.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
kfraser@localhost.localdomain [Wed, 25 Apr 2007 08:40:02 +0000 (09:40 +0100)]
acm: Updating a policy on a running system.
Allow a policy to be updated on a running system and domains to be
relabeled. The updating of a policy is happening in several steps:
relabeling the domains, testing whether the system would be in a valid
state after the relabeling (according to the policy), committing the
changes if state is determined to be valid.
I have followed Keir's suggestion of building a 2nd linked list
parallel to the domain list. That 2nd list holds security information
related to the running domains. Each entry is pointed to by its domain
structure. The list is protected by its own read/write-lock. I have
moved nearly all ACM-related code that was traversing the domain list
previously to traverse this list instead and not hold onto the domain
list lock.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
kfraser@localhost.localdomain [Wed, 25 Apr 2007 08:31:52 +0000 (09:31 +0100)]
acm: Changes to XML schema of the policy
This patch changes the XML schema of the ACM policy to require a
version and that every conflict set have a name. Every VM label must
have one Chinese Wall Type and every resource label one Simple Type
Enforcement Type. As a consequence of this some example policies
needed to be changed. Also not offering that many configuration
options for compiling xen anymore to make things simpler.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
kfraser@localhost.localdomain [Tue, 24 Apr 2007 22:40:40 +0000 (23:40 +0100)]
xend: Settle on 0666 pre-umask permissions for xend-debug.log.
Signed-off-by: Keir Fraser <keir@xensource.com>
Keir Fraser [Tue, 24 Apr 2007 22:12:10 +0000 (23:12 +0100)]
xend: Suppress logging of "Listing domains in state foo" in xend.log.
Signed-off-by: Jim Fehlig <jfehlig@novell.com>
Ian Campbell [Tue, 24 Apr 2007 21:35:16 +0000 (22:35 +0100)]
LINUX: Fixes for XENFEAT_supervisor_mode_kernel and XENFEAT_writable_page_tables.
Signed-of-by: Ian Campbell <ian.campbell@xensource.com>
Keir Fraser [Tue, 24 Apr 2007 21:00:45 +0000 (22:00 +0100)]
hvm: Choose correct shared_info format for 32-bit PV drivers on 64-bit Xen.
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
Keir Fraser [Tue, 24 Apr 2007 20:50:00 +0000 (21:50 +0100)]
acm: Changes to files missed in previous cleanup patch.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Keir Fraser [Tue, 24 Apr 2007 20:48:09 +0000 (21:48 +0100)]
Remove execute permission from xend-debug.log
The file /var/log/xen/xend-debug.log is currently being created with
executable permission bits set. This is because the os.open() method
defaults to using a mode of 0777 if no third parameter is provided.
The attached patch changes the mode to 0600 to ensure that the file
permissions come out as -rw------- instead of -rwxr-xr-x
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Keir Fraser [Tue, 24 Apr 2007 20:44:41 +0000 (21:44 +0100)]
acm: Move acm_domain_destroy() hook to complete_domain_destroy().
Signed-off-by: Keir Fraser <keir@xensource.com>
Keir Fraser [Tue, 24 Apr 2007 20:42:08 +0000 (21:42 +0100)]
xen ia64: Fix build breakage after ACM cleanup.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Keir Fraser [Tue, 24 Apr 2007 20:39:23 +0000 (21:39 +0100)]
Merge with xen-ia64-unstable.hg
Christian Limpach [Tue, 24 Apr 2007 16:02:10 +0000 (17:02 +0100)]
[qemu-dm] Check for null pointer in dma handler function pointer.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
Christian Limpach [Tue, 24 Apr 2007 16:02:09 +0000 (17:02 +0100)]
[qemu-dm] Add bounds checks to block device reads/writes.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
Christian Limpach [Tue, 24 Apr 2007 16:02:07 +0000 (17:02 +0100)]
[qemu-dm] Add bounds checks for cirrus bitblit memory accesses.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
kfraser@localhost.localdomain [Tue, 24 Apr 2007 15:52:15 +0000 (16:52 +0100)]
acm: Code restructuring on domain create/destroy.
When a domain is created, the function acm_domain_create() in
domain_create() is called that does what previously the pre- and
post_domain_create functions were doing. Similarly there's a function
acm_domain_destroy() in domain_kill() that reverts changes to state
when destroying a domain. There's no more separate initialization
necessary for domain-0, but domain_create takes one more parameter,
the ssidref. It is usually passed through the hypercall when a domain
is created.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
kfraser@localhost.localdomain [Tue, 24 Apr 2007 15:28:37 +0000 (16:28 +0100)]
hvm: Fix ioreq structure size to be 32/64-bit invariant.
This fixes booting HVM guests with 32-bit dom0 on 64-bit Xen.
Signed-off-by: Keir Fraser <keir@xensource.com>
Alex Williamson [Tue, 24 Apr 2007 15:26:32 +0000 (09:26 -0600)]
merge with xen-unstable.hg
Alex Williamson [Tue, 24 Apr 2007 15:07:24 +0000 (09:07 -0600)]
[IA64] Fix ptc.g race
If one vcpu is executing ptc.g, while the other vcpu is executing itc,
the VHPT(VTLB) entry which should be purged may unexpectedly survive.
Then issue happens.
Signed-off-by: Anthony Xu <anthony.xu@intel.com>
kfraser@localhost.localdomain [Tue, 24 Apr 2007 14:01:13 +0000 (15:01 +0100)]
xm-test: Scale memory parameter for tests using XenAPIDomain.
Scale the memory parameter for domains using the XenAPIDomain to
create a domain. Those domains use the normal configuration where the
memory parameter is given in 'Mb', so it needs to be adapted to
'bytes'.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Tim Deegan [Tue, 24 Apr 2007 13:08:57 +0000 (14:08 +0100)]
[HVM][HAP] Don't kill domains if dom0 requests an invalid shadow op.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kfraser@localhost.localdomain [Tue, 24 Apr 2007 12:49:11 +0000 (13:49 +0100)]
hvm rombios: No need for SS prefix when EA base is %bp.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Tue, 24 Apr 2007 11:14:57 +0000 (12:14 +0100)]
hvm rombios: Do not screw around with the PIT in the BIOS 32-bit
extensions. mdelay() can more easily be implemented by polling the
DRAM refresh bit in port 0x61. And this does not mess with state that
a guest may be relying on.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Tue, 24 Apr 2007 11:13:58 +0000 (12:13 +0100)]
hvm rombios: Fix int15, func 0x86 (udelay).
Was reading argument from wrong stack location with recent versions of
bcc. Doing the access from [bp] rather than [sp] is safer as the
former does not change all the time.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Tue, 24 Apr 2007 11:12:48 +0000 (12:12 +0100)]
qemu: Do not kill ioemu if undefined LSI-SCI registers are read. Just
return zeroes. This path is triggered by ASPI8DOS.SYS in DRDOS.
Signed-off-by: Keir Fraser <keir@xensource.com>
Tim Deegan [Tue, 24 Apr 2007 10:39:13 +0000 (11:39 +0100)]
[XEN] Truncate arithmetic for PERFSTATUS counters to the width of perfc_t.
Since these are all calculated per-cpu now, a status counter that is
incremented on one cpu and decremented on another will underflow on
the decrement. When we add the per-cpu values to get the total, if
we don't truncate the sum it will be max-perfc + 1 instead of zero.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kfraser@localhost.localdomain [Tue, 24 Apr 2007 09:34:47 +0000 (10:34 +0100)]
hvmloader: Fix e820_collapse() to not lose E820 entries.
Fixes bugzilla bug #971.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Tue, 24 Apr 2007 08:50:56 +0000 (09:50 +0100)]
vtpm: Decrease amount of pages on shared ring.
Decrease the amount of shared pages on the ring to only one page -
more is not needed.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
kfraser@localhost.localdomain [Tue, 24 Apr 2007 08:50:12 +0000 (09:50 +0100)]
Don't bypass the spin_unlock at the end of do_domctl().
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
kfraser@localhost.localdomain [Tue, 24 Apr 2007 08:48:08 +0000 (09:48 +0100)]
kexec: Avoid unaligned writes when producing crash info.
The alignment of info is 32bits in line with the elf specification.
This means that on 64 bit architectures accessing it directly may
result unaligned access and a panic. I have been experiencing
this on IA64.
It seems that a simple approach of having an crash_xen_info_t on
the stack and simply memcopying it into info at the end alleviates
the problem.
Signed-off-by: Simon Horman <horms@verge.net.au>
kfraser@localhost.localdomain [Tue, 24 Apr 2007 08:44:51 +0000 (09:44 +0100)]
xend: Incluide processing of 'monitor' config option in qemu-dm
cmdline processing.
Signed-off-by: Yongkang You <yongkang.you@intel.com>
Jake Wires [Tue, 24 Apr 2007 00:15:38 +0000 (17:15 -0700)]
[TAPDISK] Move tapdisk control files from /dev/xen to /var/run/tap
Signed-off-by: Jake Wires <jwires@xensource.com>
Jake Wires [Mon, 23 Apr 2007 22:37:53 +0000 (15:37 -0700)]
[TAPDISK] Use incremental cookies and fix blktapctrl::test_path parameter typo.
Signed-off-by: Jake Wires <jwires@xensource.com>
kfraser@localhost.localdomain [Mon, 23 Apr 2007 15:37:03 +0000 (16:37 +0100)]
netback: Copy skbuffs that are presented to the start_xmit() function
with a multi-page head buffer. The new skbuff will not have a
multi-page head buffer, which is a necessary restriction until this is
supported by the internals of the netback driver.
Signed-off-by: Steven Smith <ssmith@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
ewan@localhost.localdomain [Sat, 21 Apr 2007 21:12:09 +0000 (14:12 -0700)]
API version to 0.9.1.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
ewan@localhost.localdomain [Sat, 21 Apr 2007 19:43:25 +0000 (12:43 -0700)]
Ignore the libxenapi tarball temp directory.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
ewan@localhost.localdomain [Sat, 21 Apr 2007 19:42:58 +0000 (12:42 -0700)]
Added Makefile.dist, which can make standalone tarballs.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
ewan@localhost.localdomain [Sat, 21 Apr 2007 19:21:06 +0000 (12:21 -0700)]
Move all internal header files to a separate directory, so that it's clear what
forms the public API. Tidy up a couple of macros in xen_internal.h. Remove
test_hvm_bindings, which no longer builds, and which has had its functionality
subsumed into test_bindings. Bump the library version to 0.9.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kfraser@localhost.localdomain [Sat, 21 Apr 2007 10:37:34 +0000 (11:37 +0100)]
xenstored: Only dom0 can do XS_DEBUG in non-test environments.
Signed-off-by: Keir Fraser <keir@xensource.com>
Tom Wilkie [Fri, 20 Apr 2007 16:56:28 +0000 (17:56 +0100)]
Deprecate XendDomainInfo.state - now use _stateGet() to get the live
state of a domain. Should still call _stateSet() to notify others
when you expect the state has changed.
Also some changes to locking in save/suspend, restore/resume and migrate
Passes xm-test against XenAPI...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
kfraser@localhost.localdomain [Fri, 20 Apr 2007 16:51:10 +0000 (17:51 +0100)]
Revert 14883:
6568c1882af5 and 14862:
98efd2e410ae.
This reverts the preparation for removing the sparse tree, since these
modified scripts are not yet ready:
1. XENGUEST suffix was lost yet depended on still by sparse tree
Makefiles (hacked around by 14883; also reverted).
2. XEN_TARGET_X86_PAE default value seems to be ignored
(out-of-the-box 'make dist' will build non-PAE kernels).
Signed-off-by: Keir Fraser <keir@xensource.com>
Tim Deegan [Fri, 20 Apr 2007 16:32:30 +0000 (17:32 +0100)]
[XEND] Fix test for when to record HVM VNC console as a VFB.
This code may still need more work to properly integrate HVM SDL consoles.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Steven Hand [Fri, 20 Apr 2007 14:29:11 +0000 (15:29 +0100)]
Fix dist target to keep previous symlink format.
May be a cleaner fix which I'll let IanC do.
Signed-off-by: Steven Hand <steven@xensource.com>
kfraser@localhost.localdomain [Fri, 20 Apr 2007 13:04:32 +0000 (14:04 +0100)]
Update README for correctness.
Signed-off-by: Keir Fraser <keir@xensource.com>
Keir Fraser [Thu, 19 Apr 2007 20:06:29 +0000 (21:06 +0100)]
hvmloader: Fix ROMBIOS highmem relocation. Only SHF_ALLOC sections
should be relocated. SHT_NOBITS must be handled properly (space
explicitly allocated and zeroed).
Signed-off-by: Keir Fraser <keir@xensource.com>
Keir Fraser [Thu, 19 Apr 2007 18:32:10 +0000 (19:32 +0100)]
Add "chk build" check that we've got xgettext since it's now required.
Signed-off-by: Mats Petersson <mats.petersson@amd.com>
Keir Fraser [Thu, 19 Apr 2007 18:29:45 +0000 (19:29 +0100)]
[vtpm] Return a proper error when in the Xen-API call.
Fix a bug in the test.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Keir Fraser [Thu, 19 Apr 2007 18:29:19 +0000 (19:29 +0100)]
[security] When building the binary policy align its contents the same way as the
ACM module does when returning its contents.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Keir Fraser [Thu, 19 Apr 2007 18:22:12 +0000 (19:22 +0100)]
hvmloader: Simplify e820_malloc() interface and improve
implementation. Strip unnecessary sections from the highmem bios
extension elf image.
Signed-off-by: Keir Fraser <keir@xensource.com>
Keir Fraser [Thu, 19 Apr 2007 17:13:09 +0000 (18:13 +0100)]
hvmloader: Tiny comment clarification.
Steven Hand [Tue, 17 Apr 2007 14:41:44 +0000 (15:41 +0100)]
Fix for bug introduced by cset 14859:
a9aa7c29eda8 - implement IOREQ_TYPE_SUB
for intercepted mmio access too.
Signed-off-by: Steven Hand <steven@xensource.com>
kfraser@localhost.localdomain [Tue, 17 Apr 2007 12:22:24 +0000 (13:22 +0100)]
Allow use of foo.local buildconfig overrides.
From: Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Tue, 17 Apr 2007 12:21:22 +0000 (13:21 +0100)]
netfront: use skb.cb for storing private data
Netfront's use of nh.raw and h.raw for storing page+offset is a bit
hinky, and it breaks with upcoming network stack updates which reduce
these fields to sub-pointer sizes. Fortunately, skb offers the "cb"
field specifically for stashing this kind of info, so use it.
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Chris Wright <chrisw@sous-sol.org>
Cc: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kfraser@localhost.localdomain [Tue, 17 Apr 2007 11:21:33 +0000 (12:21 +0100)]
tools: Use INSTALL_{DIR,DATA} to install stuff.
Signed-off-by: Keir Fraser <keir@xensource.com>
James Bulpin [Tue, 17 Apr 2007 11:01:00 +0000 (12:01 +0100)]
Fix tools build
Signed-off-by: James Bulpin <james@xensource.com>
ewan@localhost.localdomain [Mon, 16 Apr 2007 23:19:07 +0000 (19:19 -0400)]
Added xen_session_clear_error.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Tom Wilkie [Mon, 16 Apr 2007 21:58:12 +0000 (22:58 +0100)]
Add *.get_all_records to XenAPI, make use of this for xm list
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
ewan@localhost.localdomain [Mon, 16 Apr 2007 21:02:52 +0000 (17:02 -0400)]
Added event dispatch when a VM's power state changes. Fix the host.enabled and
host.software_version definitions.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Tom Wilkie [Mon, 16 Apr 2007 20:21:42 +0000 (21:21 +0100)]
Add pot file, fix build
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
ewan@localhost.localdomain [Mon, 16 Apr 2007 20:12:33 +0000 (16:12 -0400)]
Added documentation and C bindings for VM.migrate call.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
ewan@localhost.localdomain [Mon, 16 Apr 2007 20:10:39 +0000 (16:10 -0400)]
Added host.enabled flag.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Tom Wilkie [Fri, 13 Apr 2007 15:54:03 +0000 (16:54 +0100)]
Install dtd into correct place
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Fri, 13 Apr 2007 15:46:41 +0000 (16:46 +0100)]
Fix up locale strings for xm
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
kfraser@localhost.localdomain [Mon, 16 Apr 2007 16:47:37 +0000 (17:47 +0100)]
hvm: Fix get_immediate() in mmio decoder by reverting Dexuan Cui's
change that breaks the case mod==0, rm==4, sib&7==5. That is,
disp32(scaled-index).
Also simplify get_immediate with sign extension.
Signed-off-by: Keir Fraser <keir@xensource.com>
Ian Campbell [Mon, 16 Apr 2007 16:38:37 +0000 (17:38 +0100)]
Factor out sparse tree makefile fragments and introduce an alternative hg-clone
method in preparation for migrating away from the sparse tree layout.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
kfraser@localhost.localdomain [Mon, 16 Apr 2007 10:42:12 +0000 (11:42 +0100)]
hvm: Allow HVM guests to use sched_op() hcall on x86/64 Xen.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Mon, 16 Apr 2007 10:36:40 +0000 (11:36 +0100)]
xen x86: Fix PV guest destruction.
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
kfraser@localhost.localdomain [Mon, 16 Apr 2007 10:35:58 +0000 (11:35 +0100)]
hvm: Fix a bug in the mmio emulation of SUB instruction.
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>